package jnpf.model.ragFlow.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("数据集列表响应")
public class DatasetListResponse {
    @ApiModelProperty(value = "响应码", notes = "0表示成功")
    private Integer code;

    @ApiModelProperty(value = "错误消息")
    private String message;

    @ApiModelProperty(value = "数据集列表")
    private List<Dataset> data;

    @ApiModelProperty(value = "总记录数")
    private Long total;

    @ApiModelProperty(value = "当前页码")
    private Integer page;

    @ApiModelProperty(value = "每页数量")
    private Integer pageSize;

    @ApiModelProperty(value = "总页数")
    private Integer totalPages;
}
